﻿using Autofac;
using Zinnia.Lite.Core;

namespace Zinnia.Lite.Injection
{
    /// <summary>
    /// 依赖注入
    /// </summary>
    public interface IDependencyRegistrar
    {
        /// <summary>
        /// 类型依赖注册
        /// </summary>
        /// <param name="builder">注册容器</param>
        void Register(ContainerBuilder builder,ITypeService typeFinder);
        /// <summary>
        /// 排序
        /// </summary>
        int Order { get; }
    }
}
